package com.lkcg.demo.utils.api;

public enum ResultCode {

    /** ***** 常用提示语 ***** **/

    SUCCESS(0L, "成功"),

    FAILURE(1L, "请求异常"),;

    private final Long key;
    private final String value;

    public Long getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

    ResultCode(Long key, String value) {
        this.key = key;
        this.value = value;
    }

}
